﻿@model OASys.Web.Areas.ModuleWF.Models.ModelWorkFlowIndex
@{
	ViewBag.Title = "Index_Partial";
	Layout = null;
}

<div class="common-table-container">
	<table class="common-table" id="common-table">
		<colgroup>
			<col width="50" />
			<col width="100" />
			<col width="300" />
		</colgroup>
		<thead>
			<tr>
				<th>
					<input type="checkbox" class="common-table-checkbox-all" />
				</th>
				<th>
					操作
				</th>
				@(Html.ThOrderHelper<OASys.Entity.WFFlow>(x => x.FlowName, "工作流名称"))
			</tr>
		</thead>
		<tbody>
			@foreach (var item in Model.GridDataSources)
   {
				<tr>
					<td>
						@Html.CheckBox("checkboxItem", new { @class = "checkboxItem", value = item.ID })
					</td>
					<td>
						<a href="javascript:edit('@item.ID')" class="a-edit" title="修改">&nbsp</a> <a href="javascript:deleteWF('@item.ID')" class="a-delete" title="删除">
							&nbsp</a>
					</td>
					<td>
						@item.FlowName
					</td>
				</tr>
   }
		</tbody>
	</table>
</div>
<div>
	@{
		Html.RenderPartial("/Views/Controls/PaginateAjax.cshtml", Model.PaginateHelperObject);
	}
</div>
